package tcp

type Callback interface {
	OnConnect(*Conn) error
	OnMessage(*Conn, []byte) error
	OnClose(*Conn)
	OnError(*Conn, error)
}
